<!--
 * @Descripttion: 
 * @version: 
 * @Author: Mr. Xu
 * @Date: 2020-12-15 15:55:52
 * @LastEditors: Mr. Xu
 * @LastEditTime: 2020-12-15 15:59:48
-->
<script src="http://yunhu.ibaifang.in/static/public/jquery/jquery.min.js"></script>
<script src="https://hmrz.wo.cn/sdk-deliver/js/verify_mobile_sdk-1.3.0.js"></script>
<script>
    alert('ok')
    var form_status=false;
    
    function get_ont(){
        if(form_status){
           var mobile=$("#mobile").val();
            window.JWuSDK.verifyMobile().then((response) => {
                    var res = JSON.stringify(response);
                    if(response.code=="000000"){
                        $.ajax({
                            url:"./post.php",
                            data:{net_type:response.data.netType,accessToken:response.data.accessToken,mobile:mobile},
                            type:'post',
                            success:function(res) {
                                    alert(res);
                            }
                        })
                    }       
                        
                }).catch((err) => { 
                        var err = JSON.stringify(err);
                        console.log(err);
                        alert(err);
                }); 
        }else{
            alert("初始化失败");
        }
        
    }
</script>
